home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19980424-19980901
/
000019_news@newsmaster….columbia.edu _Sun May 3 02:45:31 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id CAA13014
for <kermit.misc@watsun.cc.columbia.edu>; Sun, 3 May 1998 02:45:31 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id CAA18858
for kermit.misc@watsun; Sun, 3 May 1998 02:45:30 -0400 (EDT)
Path: news.columbia.edu!panix!howland.erols.net!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!worldnet.att.net!newsadm
From: Bernie <bfb@worldnet.att.net>
Newsgroups: comp.protocols.kermit.misc
Subject: Ftp Script Problem
Date: Sat, 02 May 1998 04:00:10 +0000
Organization: AT&T WorldNet Services
Lines: 30
Message-ID: <6igrtg$ggq@bgtnsc01.worldnet.att.net>
NNTP-Posting-Host: 12.68.111.161
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.31 i586)
Xref: news.columbia.edu comp.protocols.kermit.misc:8670
I'm attempting to write a script which will ftp to my
localhost (for testing purposes) and put a file.
In the script below, when the line is reached
input 5 {Name (localhost.localdomain:root):}
The script does not continue. To obtain the above
line I typed: ftp localhost.localdomain and copied
the prompt.
I currently have the Using C-Kermit book (yellow cover),
but it is pre-ftp. I've ordered the second edition which
covers ftp, and will hopefully address my problem.
clear input
set host localhost.localdomain
ftp localhost.localdomain
input 5 {Name (localhost.localdomain:root):}
output super\13
input 9 assword:
output mypasswd\13
input 5 ftp> ; wait for ftp prompt
output ascii\13 ; set binary mode
input 20 ftp> ; wait for ftp prompt
output {put tmp\13} ; transfer the file
input 200 ftp>
output bye\13 ; exit ftp